#region Summary

// 
// Owner : JackieHan 
// 
// Solution : WebShopApi 
// 
// Project : Skomart.WebShopApi.Rest.Domain
// 
// File : ParameterErrorExcetpion.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : 传入参数错误异常
// 
// History : 
//			2011-06-10 15:45:07	    Create 
// 

#endregion

#region Using

using System;

#endregion

namespace Jackie.Utility.CustomException
{
    /// <summary> 
    /// 传入参数错误异常
    /// </summary>
    public class ParameterErrorException : ApplicationException
    {
        /// <summary>
        /// 错误代码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="code">错误代码</param>
        /// <param name="message">错误详细说明</param>
        public ParameterErrorException(string code, string message)
            : base(message)
        {
            this.Code = code;
        }
    }
}